const getSearchQuery = () => {
    let query={};
    $.each($('.search-box form').serializeArray(), (key, val) => {
        query[val.name] = $.trim(val.value);
    });
    return query;
};
export {
    getSearchQuery
}